package com.atguigu.yygh.user.client;

import com.haust.su.ghyy.model.user.Patient;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author haustsusu
 * @create 2023-05-08-20:46
 */
@FeignClient(value = "service-user")
@Repository
public interface PatientFeignClient {
    //根据就诊人的id 获取就诊人的信息,
    @GetMapping("/api/user/patient/inner/get/{id}")
    public Patient getPatientOrder(
            @PathVariable("id") Long id);
}
